package com.organize.annotation;

import com.autumn.mybatis.annotation.AutumnMybatisScan;
import com.autumn.swagger.annotation.AutumnSwaggerScan;
import com.autumn.web.annotation.ApiResponseBodyScan;
import com.autumn.zero.common.library.annotation.EnableAutumnZeroCommonLibrary;
import com.organize.configure.OrganizeAutoConfiguration;
import com.organize.configure.OrganizeWebApiConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * <p>
 * </p>
 *
 * @description TODO
 * @author: 老码农
 * @create: 2020-10-15 17:32
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@EnableAutumnZeroCommonLibrary
@AutumnMybatisScan(value = {"com.organize.repositories"}, typeAliasesPackages = {"com.organize.entities"})
@AutumnSwaggerScan(groupName = "组织", order = 110, packages = {"com.organize.controllers"})
@ApiResponseBodyScan({"com.organize.controllers"})
@Import({OrganizeAutoConfiguration.class, OrganizeWebApiConfiguration.class})
public @interface EnableOrganizeComponent {

}
